<?php

use yii\helpers\Url;
?>
<div class="invite-number">
    <ul class="mui-table-view mui-grid-view">
        <li class="mui-table-view-cell mui-media mui-col-xs-6 mui-col-sm-6">
            <div class="mui-text-center">
                <h5 class="mui-badge-danger mui-badge-inverted"><?php echo $mytuicount; ?></h5>
                <p>邀请人数</p>
            </div>
        </li>
        <li class="mui-table-view-cell mui-media mui-col-xs-6 mui-col-sm-6">
            <div class="mui-text-center">
                <h5 class="mui-badge-danger mui-badge-inverted"><?php echo Yii::$app->formatter->asDecimal(Yii::$app->user->identity->wallet->offline_amount); ?></h5>
                <p>邀请收入</p>
            </div>
        </li>
    </ul> 
</div>
<div class="index-nav-btn invite-btn">
    <ul class="mui-table-view mui-grid-view">
        <li class="mui-table-view-cell mui-media mui-col-xs-12 mui-col-sm-12">
            <div class="mui-control-content mui-active">
                <div class="title">
                    <p class="mui-badge-danger mui-badge-inverted">分享推广海报，获得更多小伙伴，有丰厚奖励哦！</p>
                </div>
                <div class="title">
                    <img src="<?php echo yii\helpers\Url::to(["profile/qrcode"]) ?>" class="mui-col-xs-10">
                </div>
                <div class="title">
                    <button type="button" class="mui-btn mui-btn-primary mui-col-xs-10">分享海报</button>
                </div>
            </div>
        </li>
    </ul> 
</div>
<div class="mui-control-content mui-active">
    <div class="title">
        <p>1、成功邀请1人，并且完成任何一单任务，则奖励0.3元。</p>
        <p>2、你的下线在平台提现奖励，提现金额的5% 永久奖励！</p>
    </div>
</div>